﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace ZhengMeiJiSettingUI.ModelEntity
{
    [Table("MaterialTypes")]
    public class MaterialTypeEntity
    {
        public int id { get; set; }

        public int Code { get; set; }
        public string Remark { get; set; }

        public MaterialTypeEntity Clone()
        {
            return new MaterialTypeEntity()
            {
                id = this.id,

                Code = this.Code,

                Remark = this.Remark
            };
        }
    }
}
